feat: today 대시보드 핵심 API (GET /dashboard/today) - #114
Merged
Conversation
…장격리, VIEWER접근, date파라미터)
Contributor
|
timezone을 보내지 않으면 서버의 Clock을 그대로 사용합니다. 그런데 CommonBeanConfig.java에서 서버 시간은 UTC로 설정되어 있어요 고민되긴하지만 한 번 바꿔보셔도 될 것 같ㅇ아요 |
hywznn
approved these changes
Aug 8, 2026
Contributor
Author
|
넵 다음 PR에서 수정해서 올릴게욥! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜 필요한가요?
Refs #15
HR이 로그인 직후 오늘 처리할 업무를 한 화면에서 확인할 수 있도록,
GET /dashboard/today의 핵심 부분(summary_counts, priority_tasks,
approval_count, worker_response_count)을 먼저 구현합니다. upcoming7Days
(Worker 만료 요약), recommendations(Agent 준비 내용), Notification 도메인은
후속 PR로 분리해 프론트가 최대한 빨리 연결할 수 있게 했습니다.
완료된 범위
countOpenTasksDueOn (열린 Task 기준, COMPLETED/CANCELLED 제외)
DashboardTaskSummaryResponse DTO
결정 사항
기존 로직(isOpenTask 필터 후 daysUntil==0)과 숫자가 어긋날 수 있어,
전용 쿼리(countOpenTasksDueOn)로 분리했습니다.
INVALID_TIMEZONE)으로 응답합니다.
새 쿼리들과 잘 맞아 별도 인덱스 추가는 하지 않았습니다.
후속 PR 예정
어떻게 검증했나요?
(체크리스트 완료 → approval-requests) 전체로 검증
invalidTimezoneReturnsClientError - 날짜/타임존 파라미터 및 오류 처리
참조
이슈: (#15)